package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModPlaens extends ModuleNavigator {
    
    public ModPlaens() {
        
        setGlobalName("ZTEST.MOD_PLAENS");
        setInitialService(CadPlanoExecucao.class, "QUERY");
        
        addNavigation((new ServiceNavigation())
                .id("20816766")
                .name("MASTER")
                .label("Plano de ensaio")
                .destination(CadPlanoExecucao.class)
                .feature("VIEW")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("21163218")
                .name("PONT_PLEX")
                .label("Vazão de ensaio")
                .destination(CadPontoPlanoExecucao.class)
                .feature("LIST")
                .parameterName("P_ID_PLANO_EXECUCAO")
                );
        addNavigation((new ServiceNavigation())
                .id("21845629")
                .name("CRIT_VALID")
                .label("Critérios de validação do plano")
                .destination(CadCriterioAprovacaoPlanoEnsaio.class)
                .feature("LIST")
                .parameterName("P_ID_PLANO_ENSAIO")
                );
    }
}
